//
// Created by hzq on 2022/6/7.
//

#ifndef AUDIO_MIX_AWI_AUDIOMIX_PROCESS_H
#define AUDIO_MIX_AWI_AUDIOMIX_PROCESS_H

#include "awi_audiomix_cfg.h"

float sum_abs(float *input, int size_vec);
float mean_vec(float *input, int size_vec);

void awi_audio_mixer(audiomix_cfg_t *p,float *input_frame1, float *input_frame2, int frame_size, float *out_mixed_frame);

void awi_audio_mixer_process(audiomix_cfg_t *p, short *input_frame1, short *input_frame2, int frame_size, short *output);



#endif //AUDIO_MIX_AWI_AUDIOMIX_PROCESS_H
